#48 new
Jeff Schwab

FixtureClassNotFound

Reported by Jeff Schwab | April 5th, 2009 @ 07:57 AM

Out-of-the-box restful-authentication encounters FixtureClassNotFound errors on Debian. The same error occurs with Rails 2.1/Ruby 1.87 and with Rails 2.3/Ruby 1.9.1. Trace attached.

Comments and changes to this ticket

  • Jeff Schwab

    Jeff Schwab April 5th, 2009 @ 07:58 AM

    Should have mentioned: The errors occur in unit tests, not in production operation.

  • Jeff Schwab

    Jeff Schwab April 5th, 2009 @ 05:48 PM

    You're going to love this: The problem occurs for "script/generate users sessions", but not for "script/generate user sessions". Apparently, some aspect of fixtures blows up when the model name is plural.

    It would have saved me numerous hours if the generator could have caught this, or if the tests had failed with a meaningful message (rather than dying with errors). When I get my palm unstuck from my forehead, I'll try to submit a patch to catch this problem earlier and more gracefully.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Restful Authentication Generator

This widely-used plugin provides a foundation for securely managing user
authentication:
* Login / logout
* Secure password handling
* Account activation by validating email
* Account approval / disabling by admin
* Rudimentary hooks for authorization and access control.

http://github.com/technoweenie/restful-authentication/tree

People watching this ticket

Attachments

Tags

Pages